SafeSvg\safe_svg B

Total Complexity 84
Dependencies 4
Dependents 0
Total lines 618
Lines of code 317
Logical lines of code 197
Comment lines 219
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
svg_dimensions()
B
39 23 61
skip_svg_regeneration()
A
44 7 46
get_image_tag_override()
S
52 7 24
check_for_svg()
S
53 7 24
fix_admin_preview()
S
48 6 35
sanitize()
S
55 5 21
fix_mime_type_svg()
S
58 5 15
str_ends_with()
S
63 4 10
disable_srcset()
S
69 4 6
one_pixel_fix()
S
61 3 13
__construct()
S
55 1 18
featured_image_fix()
S
68 2 7
current_user_can_upload_svg()
S
63 2 10
is_gzipped()
S
67 2 7
metadata_error_fix()
S
69 2 7
allow_svg()
S
69 2 7
load_custom_admin_style()
S
78 1 3
setup_blocks()
S
80 1 3